package entity;

import javax.persistence.Entity;
import javax.persistence.Table;


@Entity
@Table(name = "Comercial")
public class Comercial extends Telefono{
	
	private int interno;
	
	public Comercial() {}

	public Comercial(TelefonoID nro, int interno) {
		super(nro);
		this.interno = interno;
	}

	public int getInterno() {
		return interno;
	}

	public void setInterno(int interno) {
		this.interno = interno;
	}

}
